FTPupload mode V1.00
====================

This addition to StrongED allows you to click on a 'FTPupload' icon and it will save your locally open HTML/Perl page and then instantly upload it to your FTP
site for web publishing. 

By using this FTPupload mode in StrongED you save time by just clicking on the FTPupload icon to save and then upload your file. Quick and easy!

It assumes you've got a local copy of your FTP site on your hard drive which accurately reflects the same directory name and path as the remote server.
It also assumes you usually edit that local copy and then upload that file to your FTP server.


HOW TO INSTALL IT
-----------------

Simply drag the pseudo StrongED application provided over your copy of StrongED which will install the FTPupload mode. You'll then need to restart StrongED to make it see the new mode. If you are using a 4.67 alpha version then you may find an entry 'rescan modes' in Menu -> <modename> -> Base functions. If it's there then you can click this to make the new mode active, no need to restart StrongED in this case.


What does FTPupload offer
-------------------------

FTPupload places an icon on StrongED toolbar that has three functions:

Select - Displays the current system variables set (see below)
Adjust - Uploads the current file using the system variables set
c-Drag - Runs the (obey)file dragged and then uploads the current file


Configuring FTP uploads
-----------------------

Uploading files to a remote website requires that the details of how to connect to the remote site are known. This is done by setting a number of system variables, these variables are then read by the program that does the actual upload.

There's an example obey file called 'RemoteSite' in the Files directory inside the FTPupload mode, it can be used as a template for creating your own script. It sets the following variables:

Set StrongED$FTP_Provider   Name of program to do the actual upload (cURL/FTPc)
Set StrongED$FTP_LocalRoot  Points to local copy of your website
Set StrongED$FTP_RemoteURL  URL to access your FTP site
Set StrongED$FTP_UserName   Username to use when connecting
Set StrongED$FTP_Password   Password to use when connecting
Set StrongED$FTP_RemoteRoot First directory of your ftp site

You can create an obey file for each of the websites that you have. Running them or dragging to the FTPupload icon with Ctrl held down allows you to switch to a different site. If you are unsure which site is currently configured then click Select over the FTPupload icon to check the current settings.


cURL/FTPc
---------

Currently there is support for cURL and FTPc to do the actual uploading, so you must have at least one of them installed on your system.

When using FTPc make sure it's running when you click on the FTPupload icon.

When using cURL make sure the DDEUtils module is available and that the Next slot is large enoufh, ie >1MB.